package com.java;

public class Receive extends Thread{
	private Storage s;
	public Receive(Storage s){
		this.s = s;		
	}
	public void run(){
		for(int i=1;i<100;i++){
			System.out.println("\t\t Consume get:"+s.get());
		}
	}
}
